package com.ruoyi.decision.mapper;

import com.ruoyi.decision.domain.StrategyClassification;

import java.util.List;

/**
 * 优化策略分类Mapper接口
 * 
 * @author zbw
 * @date 2022-07-20
 */
public interface StrategyClassificationMapper 
{
    /**
     * 查询优化策略分类
     * 
     * @param strategyTypeId 优化策略分类主键
     * @return 优化策略分类
     */
    public StrategyClassification selectStrategyClassificationByStrategyTypeId(String strategyTypeId);

    /**
     * 查询优化策略分类列表
     * 
     * @param strategyClassification 优化策略分类
     * @return 优化策略分类集合
     */
    public List<StrategyClassification> selectStrategyClassificationList(StrategyClassification strategyClassification);

    /**
     * 新增优化策略分类
     * 
     * @param strategyClassification 优化策略分类
     * @return 结果
     */
    public int insertStrategyClassification(StrategyClassification strategyClassification);

    /**
     * 修改优化策略分类
     * 
     * @param strategyClassification 优化策略分类
     * @return 结果
     */
    public int updateStrategyClassification(StrategyClassification strategyClassification);

    /**
     * 删除优化策略分类
     * 
     * @param strategyTypeId 优化策略分类主键
     * @return 结果
     */
    public int deleteStrategyClassificationByStrategyTypeId(String strategyTypeId);

    /**
     * 批量删除优化策略分类
     * 
     * @param strategyTypeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStrategyClassificationByStrategyTypeIds(String[] strategyTypeIds);
}
